<!DOCTYPE html>
<html>
<head>
	<title><%=title%></title>
	<meta charset="utf-8">
	<link rel="stylesheet" type="text/css" href="/bower_components/bootstrap/dist/css/bootstrap.min.css">
    <link type="text/css" rel="stylesheet" href="/styles/head_foot.css">
	<link rel="stylesheet" type="text/css" href="/styles/member.css">
	<script type="text/javascript" src="/bower_components/jquery/dist/jquery.min.js"></script>
	<script type="text/javascript" src="/bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
	<style type="text/css">
		.box > .bd > li{
			margin-left: 0px;
		}
		.box > .bd > li > ul li a{
			margin-left: 30px;
		}
	</style>
</head>
<body>
	<% include header.ejs %>
	<div class="container">
		<div class="row">
			<div class="col-xs-3">
				<div id="left_main">
					<div id="header_nav">
						<a href="/">首页</a> >
						<a href="/member/MemberCenter">会员中心</a>
					</div>
					<div class="box"> 
						<div class="hd">
							<b></b>
							会员中心
						</div>
						<ul class="bd">
		                    <li id="memberCenterItem" class="active"><a href="/member/MemberCenter" style="font-size:12px;"><span class="ico ico-member1"></span>会员首页</a></li>
		                    <li>
		                        <span class="ico ico-member2"></span>订单信息
	                        <ul>
	                            <li id="myOrderItem"><a href="">我的订单</a></li>
	                            <li id="cancelOrderItem"><a href="">已取消订单</a></li>
	                            <li id="myEvaluationItem"><a href="">我的评价</a></li>
	                            <li id="myAttentionItem"><a href="">我的关注</a></li>

	                        </ul>
		                    </li>
		                    <li>
		                        <span class="ico ico-member3"></span>积分管理
		                        <ul>
		                            <li id="myScoresItem"><a href="">我的积分</a></li>
		                            <li id="scoresExchangeItem"><a href="">积分兑换</a></li>
		                        </ul>
		                    </li>
		                    <li>
		                        <span class="ico ico-member4"></span>账户设置
		                        <ul>
		                            <li id="personInfoItem"><a href="">个人信息</a></li>
		                            <li id="addressListItem"><a href="">常用收货人</a></li>
		                            <li id="changePwdItem"><a href="changePassword">修改密码</a></li>
		                            <li id="changeEmailItem"><a href="">修改登录名</a></li>
		                            <li id="remindItem"><a href="">生日/纪念日提醒</a></li>
		                        </ul>
		                    </li>
		                    <li>
		                        <span class="ico ico-member5"></span>付款设置
		                        <ul>
		                            <li id="myVirtualAccountItem"><a href="">我的虚拟账户</a></li>
		                            <li id="myCouponItem"><a href="">我的优惠券</a></li>
		                            <li id="balanceFillItem"><a href="">在线补款</a></li>
		                        </ul>
		                    </li>
		                    <li>
		                        <span class="ico ico-member6"></span>客户服务
		                        <ul>
		                            <li id="guestMessageItem"><a href="">客服留言</a></li>
		                            <li id="tsGuestMessageItem"><a href="">投诉留言</a></li>
		                            <li id="chatItem"><a href="/Chat/">在线客服</a></li>
		                        </ul>
		                  	</li>
                		</ul>
					</div>
				</div>
			</div>
			<div class="col-xs-9">
				<div id="main_right">
					<p class="welcome">会员订单</p>
					<div class="vip2">
						<table>
							<tr class="t1">
								<th>订单编号</th>
								<th>收货人</th>
								<th>订单金额</th>
								<th>配送时间</th>
								<th>全部状态</th>
								<th>操作</th>
							</tr>
							<% for(i=0;i<myorder.length;i++){%>
							<tr>
								<td><%=myorder[i].id%></td>
								<td><%=myorder[i].receiver%></td>
								<td><%=myorder[i].amount%></td>
								<td><%=myorder[i].deliveryTime%></td>
								<td><%=myorder[i].allState%></td>
								<td>
									<a href="/member/delOrder?id=<%=myorder[i].id%>">取消订单</a>
									<a href="">确认收货</a>
								</td>
							</tr>
							<% } %>
						</table>
					</div>
				</div>	
			</div>
		</div>
	</div>
	<% include footer.ejs %>
</body>
</html>